<?php require_once('function/includes.php'); Session::start(); ?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Health Tracker</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Health Tracker">
    <meta name="author" content="">

    <!-- Le styles -->
    <link href="css/bootstrap.css" rel="stylesheet">
    <style>
      body {
        padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
      }
    </style>
    <link href="css/bootstrap-responsive.css" rel="stylesheet">
    <link rel="shortcut icon" href="ico/favicon.ico">
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="ico/apple-touch-icon-114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="ico/apple-touch-icon-72-precomposed.png">
    <link rel="apple-touch-icon-precomposed" href="ico/apple-touch-icon-57-precomposed.png">
  </head>

  <body>


<?php include_once('nav.php'); ?>
    <div class="container">
    <div class="row">
    <div class="span4">
      <h1 style="padding-left: 20px;">Reset</h1>

				<?php
	  			if (isset($_SESSION['message'])) {
					foreach ($_SESSION['message'] as $message) {
						echo constant($message) . '<br />';
					}
					unset($_SESSION['message']);
				} 
				?>
					<form action="function/reset_function.php" method="POST" >
					<label for="username">Username: </label> <input type="text" class="input-small" id="username" name="username" style="margin-top:8px;"/>
					<label for="email">E-mail: </label> <input type="email" class="input-small" id="email" name="email" style="margin-top:8px;"/>
					<input type="hidden" id="from" name="from" value="reset.php"/>
                    <button type="submit" name="reset" class="btn btn-primary">Reset Password</button>
					</form>
    </div>
    </div>
    </div> <!-- /container -->
  </body>
</html>